-
Notifications
You must be signed in to change notification settings - Fork 76
Some ice shelf updates #1009
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev/gfdl
Are you sure you want to change the base?
Some ice shelf updates #1009
Conversation
…roducing_sum (and therefore, mpp_sum) is called. Previously, several 2-D arrays were each being passed within their own reproducing_sum calls, which is now avoided by consolidating the 2-D arrays into one 3-D array that is passed to a single reproducing_sum call.
…ux calculation. Needed for runs without frazil.
Hallberg-NOAA
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for these useful additions. I think that this PR will be ready to go once a few minor additions are made to the documenting comments (described in specific comments at the relevant lines) to align with the MOM6 style guidelines.
… units; converted cg_halo and max_cg_halo from real to integer
Hallberg-NOAA
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes now look good to me.
-Optimized the ice-shelf CG scheme by reducing the number of times reproducing_sum (and therefore, mpp_sum) is called. Previously, several 2-D arrays were each being passed within their own reproducing_sum calls, which is now avoided by consolidating the 2-D arrays into one 3-D array that is passed to a single reproducing_sum call. This is not answer-changing.
-Make sure frazil is allocated before adding it to the ice-shelf water flux calculation. Required for runs without frazil
-Added a mask that is >0 where ice-shelf melting is allowed. Defaults to 1 (melting allowed everywhere) if no mask is provided. Useful in some regional/idealized configurations.